From: Marek Černocký Date: Mon, 14 Feb 2022 09:18:52 +0000 (+0100) Subject: calendar: Fix xgettext comment for calendar date format X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~530^2^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=172a8febe7ccdd561a5add708cb8b2802a9a27e9;p=gnome-shell.git calendar: Fix xgettext comment for calendar date format Gettext comments must be right next to the line with the extracted text, otherwise they aren't included in pot/po file. Part-of: --- diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 953517818..7335c9294 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -637,8 +637,8 @@ var Calendar = GObject.registerClass({ // nRows here means 6 weeks + one header + one navbar let nRows = 8; while (row < nRows) { - // xgettext:no-javascript-format let button = new St.Button({ + // xgettext:no-javascript-format label: iter.toLocaleFormat(C_('date day number format', '%d')), can_focus: true, });